import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/assets/css/global.less'
import animated from 'animate.css'
import '@/mock/mockServe.js'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// swiper引入js、css
import 'swiper/js/swiper.min'
import 'swiper/css/swiper.min.css'
// 全局导航守卫
import permission from 'plugins/permission'
import 'normalize.css/normalize.css'
// 懒加载插件
import 'utils/lazyload'
Vue.prototype.$bus = new Vue()
Vue.use(permission)
Vue.use(ElementUI)
Vue.use(animated)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount('#app')
